package server.demo.dto.ticket;

import jakarta.validation.constraints.NotNull;

public class RescheduleTicketRequest {
    
    @NotNull(message = "原订单ID不能为空")
    private Long originalOrderId;
    
    @NotNull(message = "新车次ID不能为空")
    private Long newTrainId;
    
    @NotNull(message = "新座位ID不能为空")
    private Long newSeatId;
    
    @NotNull(message = "乘车日期不能为空")
    private String travelDate;
    
    private String reason;

    public Long getOriginalOrderId() {
        return originalOrderId;
    }

    public void setOriginalOrderId(Long originalOrderId) {
        this.originalOrderId = originalOrderId;
    }

    public Long getNewTrainId() {
        return newTrainId;
    }

    public void setNewTrainId(Long newTrainId) {
        this.newTrainId = newTrainId;
    }

    public Long getNewSeatId() {
        return newSeatId;
    }

    public void setNewSeatId(Long newSeatId) {
        this.newSeatId = newSeatId;
    }

    public String getTravelDate() {
        return travelDate;
    }

    public void setTravelDate(String travelDate) {
        this.travelDate = travelDate;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}